public class User {
    private Integer userid;
    private String  userName;
    private String  pw;

    public  User(){
        System.out.println("no arg constructor");
    }
    public  User(Integer uid,String name,String pw){
        this.userid = uid;
        this.userName = name;
        this.pw = pw;
    }
    public void setUserid(Integer userid) {
        System.out.println("setUserid");
        this.userid = userid;
    }

    public void setUsername(String username) {
        System.out.println("set Username");
        this.userName = username;
    }

    public void setPassword(String password) {
        System.out.println("set password");
        this.pw = password;
    }
    @Override
    public String toString(){
        return "User{ userid = " + userid+ " username = '"+ userName+"' pw = '"+ pw+ "'}";
    }
}
